package com.company.bookstore.service.book_module;

import com.baomidou.mybatisplus.extension.service.IService;
import com.company.bookstore.entities.book_module.BookImg;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 姬深威
 * @since 2020-09-12
 */
public interface BookImgService extends IService<BookImg> {

    void addImgs(int bookId, List<BookImg> imgs) throws Exception;

    Integer deleteImg(Integer bookId,Integer imgId);

    void deleteImgList(Integer bookId, Integer[] imgIds) throws Exception;
}
